import request from '@/utils/request'



export function addTestFailureApi(data){
  return request({
    url:'/tests/addTestFailure',
    method:'POST',
    data
  })
}


export function getTestsFailureApi(params) {
  //此处直接使用参数
  return request({
    url: '/tests/getTestsFailure',
    method: 'GET',
    params
  })
}
export function getTestFailureListApi(params) {
  //此处直接使用参数
  return request({
    url: '/tests/getTestFailureList',
    method: 'GET',
    params
  })
}

export function deleteTestFailureApi(params){
  return request({
    url:'/tests/deleteTestFailure',
    method:'GET',
    params
  })
}



export function delBatchFailureTestsApi(params) {
  return request({
    url: '/tests/deleteTestFailureBatchByIds',
    method: 'DELETE',
    params,
  });
}


